package cn.wolfcode.market.service.impl;

import cn.wolfcode.market.entity.User;
import cn.wolfcode.market.mapper.UserDao;
import cn.wolfcode.market.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author yinyin
 * @create 2023/07/03 下午 4:40
 */
@Service
public class UserServiceImpl implements IUserService {
    @Autowired
    private UserDao userDao;

    @Override
    public List<User> selectAllUser() {

        return userDao.selectAllUser();
    }
}
